Repository navigation
Docs: state that WASM function support was removed - #4886
Open
Adham-Kiwan wants to merge 1 commit into
Open
Adham-Kiwan wants to merge 1 commit into
Adham-Kiwan wants to merge 1 commit into
Conversation
Update the --allow-alpha-wasm flag reference for fn eval and fn render, and add a note to the alpha wasm page that says running WASM functions was removed and why. Regenerate the embedded CLI docs. Fixes kptdev#4883 Assisted-by: Claude Code (claude-opus-5-5) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Adham Kiwan <adhamkiwan@outlook.com>
Adham-Kiwan
requested review from
efiacor,
kispaljr,
liamfallon and
mozesl-nokia
as code owners
November 18, 2026 23:35
✅ Deploy Preview for kptdocs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The WASM documentation uses a noncompliant alert title and incorrectly states that all function runs with --allow-alpha-wasm fail, although ordinary executables still run.
2 open issues
What changed in this PR
Documents the removal of WASM function execution, complementing runtime removal in #4885 while preserving the WASM OCI management command documentation.
Changes:
- Updates
fn evalandfn renderflag documentation to describe deprecation and errors. - Adds a historical removal warning with container images and executables as alternatives.
- Regenerates embedded CLI help to match the reference pages.
| File | Description |
|---|---|
internal/docs/generated/fndocs/docs.go |
Updates embedded eval and render help text. |
documentation/content/en/reference/cli/fn/render/_index.md |
Documents deprecated WASM flag behavior for pipelines. |
documentation/content/en/reference/cli/fn/eval/_index.md |
Documents deprecated WASM flag behavior for individual functions. |
documentation/content/en/reference/cli/alpha/wasm/_index.md |
Adds the removal warning, rationale, and alternatives. |
Review effort: Balanced
| The `wasm` command group contains subcommands for managing WASM modules as OCI images. | ||
| <!--mdtogo--> | ||
|
|
||
| {{% alert title="WASM functions are no longer supported" color="warning" %}} |
Comment on lines
+24
to
+25
| no longer maintained, and the feature saw little use. The flag is still accepted, but any function run | ||
| with it fails with an error. Run your functions as container images or executables instead. See |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
This is the documentation part of the WASM removal (#4881). It goes with #4885, which removes the runtime itself. Please merge it after #4885, or together with it.
reference/cli/fn/evalandreference/cli/fn/render: the--allow-alpha-wasmentries now say the flag is deprecated and that functions run with it fail with an error.reference/cli/alpha/wasm: adds a warning box. It says kpt used to run WASM functions, that the feature was removed and why, and points readers to container images or executables. This keeps the one section the issue asks for.internal/docs/generated/fndocs/docs.go: regenerated withmdtogo, sokpt fn eval --helpandkpt fn render --helpmatch.I searched
documentation/for other WASM mentions and found none outside these pages. Thekpt alpha wasm push/pullpages describe commands that #4885 keeps, so I left them unchanged.Fixes #4883
AI usage
I have used AI in the creation of this PR.
I have used the following AI tools:
I have reviewed the change and can explain it independently of the tool.